package com.tkp.controller;

import com.tkp.token.CheckToken;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: duk
 * @Date: 2021/11/9 10:46
 * @Description: sap相关操作
 */
@Api
@RestController
@RequestMapping("/sap")
public class sapController {

    @ApiOperation("冲销凭证")
    @GetMapping("/charge")
    @CheckToken()
    public String sapCharge(String billNo){
        return "冲销成功";
    }
}
